package com.yunupmall.api.fordentity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("order_data")
public class Order {

  @TableId(type = IdType.AUTO)
  private Integer id;
  /**
   * 订单编号
   */
  private String orderUuid;
  private Integer mId;
  private Integer orderStatic;


  private Double price;
  @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;
  private Integer addressId;
  private Integer deflag;

  /**
   * 物流公司名称
   */
  private String lonsitics;
  /**
   * 物流单号
   *
   */
  private String number;


}
